package day17.animal1;

public class animal1 {
    public animal1() {}

    public int age;

    public String color;

    public animal1( int age, String color ) {
        this.age = age;
        this.color = color;
    }

    public void eat() {
        System.out.println("动物吃东西");
    }

    public void sleep() {
        System.out.println("动物睡大觉");
    }
}
